package com.neu.domain;

import java.io.Serializable;

/**
 * 用户实体
 * @author wudagai
 *
 */
public class User implements Serializable{

	private static final long serialVersionUID = -4136807766401425423L;
	
	private String username;
	private String password;
	private Integer usertype;
	public User(String username, String password, Integer usertype) {
		super();
		this.username = username;
		this.password = password;
		this.usertype = usertype;
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getUsertype() {
		return usertype;
	}
	public void setUsertype(Integer usertype) {
		this.usertype = usertype;
	}
	@Override
	public String toString() {
		return "User [username=" + username + ", password=" + password + ", usertype=" + usertype + "]";
	} 
	
	
}
